package com.lxmes.sales.service;

import java.util.List;
import com.lxmes.sales.domain.NcPackagingPreSchedulingPlan;

/**
 * 分装预排产计划Service接口
 *
 * @author lx
 * @date 2023-04-11
 */
public interface INcPackagingPreSchedulingPlanService
{
    /**
     * 查询分装预排产计划
     *
     * @param id 分装预排产计划主键
     * @return 分装预排产计划
     */
    public NcPackagingPreSchedulingPlan selectNcPackagingPreSchedulingPlanById(Long id);

    /**
     * 查询分装预排产计划列表
     *
     * @param ncPackagingPreSchedulingPlan 分装预排产计划
     * @return 分装预排产计划集合
     */
    public List<NcPackagingPreSchedulingPlan> selectNcPackagingPreSchedulingPlanList(NcPackagingPreSchedulingPlan ncPackagingPreSchedulingPlan);

    /**
     * 新增分装预排产计划
     *
     * @param ncPackagingPreSchedulingPlan 分装预排产计划
     * @return 结果
     */
    public int insertNcPackagingPreSchedulingPlan(NcPackagingPreSchedulingPlan ncPackagingPreSchedulingPlan);

    /**
     * 修改分装预排产计划
     *
     * @param ncPackagingPreSchedulingPlan 分装预排产计划
     * @return 结果
     */
    public int updateNcPackagingPreSchedulingPlan(NcPackagingPreSchedulingPlan ncPackagingPreSchedulingPlan);

    /**
     * 批量删除分装预排产计划
     *
     * @param ids 需要删除的分装预排产计划主键集合
     * @return 结果
     */
    public int deleteNcPackagingPreSchedulingPlanByIds(Long[] ids);

    /**
     * 删除分装预排产计划信息
     *
     * @param id 分装预排产计划主键
     * @return 结果
     */
    public int deleteNcPackagingPreSchedulingPlanById(Long id);

    /**
     * 导入分装预排产计划信息
     *
     * @return 结果
     */
    String imporIteminfo(List<NcPackagingPreSchedulingPlan> ncPackagingPreSchedulingPlanList, boolean updateSupport, String operName);

    int formalProduction(Long[] ids);
}
